<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>Flower Shop - Category</title>
        <link rel="stylesheet" type="text/css" href="<?php echo asset_url() . 'css/style.css'; ?>" />
        <link rel="stylesheet" type="text/css" href="<?php echo asset_url() . 'css/stylenav.css'; ?>" />
        <script type="text/javascript" src="<?php echo asset_url() . 'js/jquery.js'; ?>"></script>

    </head>
    <body>
        <div id="wrap">
            <?php
            include '/layout/header.php';
            ?>
            <?php echo form_open('manage/checked_order') ?>
            <div class="center_content" style="background:white;margin-top: 5px;">
                <div class="top_content">
                    <div id="cart">
                        <table id="tb" style="border-color:#99CC33;width: 100%;border-radius: 3px;-webkit-border-radius: 3px;-moz-border-radius: 3px;font-size: 12px">
                            <thead>
                                <tr>
                                    <th>Tên Sản Phẩm</th>
                                    <th>Hình Ảnh</th>
                                    <th>Đơn Giá</th>
                                    <th>Số Lượng</th>

                                </tr>
                            </thead>
                            <?php foreach ($detail as $item): ?>
                                <tbody style="font-size: 15px;font-weight: bold;">
                                    <tr>
                                        <td><?php echo $item->TenHoa; ?></td>
                                        <td><img height="50 px" src="<?php echo asset_url() . $item->HinhAnh; ?>" alt="" class="thumb" border="0" /></td>
                                        <td><?php echo $item->DonGia; ?></td>
                                        <td><?php echo 1; //$item->SoLuong;  ?></td>                                        
                                    </tr>
                                </tbody>
                            <?php endforeach; ?>
                            <tfoot style="background-color: #99CC33;vertical-align: middle;border-color:#99CC33;font-size: 15px;font-weight: bold;">

                            </tfoot>
                        </table>
                    </div>
                </div>            
                <div class="clear"></div>
                <div class="bot_content">
                    <div class="thongtinlienlac">                        
                        <label class="tle">Thông Tin Liên Lạc</label>
                        <table width="100%">
                            <tr style="background: white">
                                <td>Email của bạn:</td>
                                <td><input name="id_order" type="hidden" value="<?php echo $order->MaHoaDon; ?>"/><input readonly name="email_sender" type="text" value="<?php echo $order->EmailNguoiDung; ?>" style="width: 200px"/></td>

                            </tr> 
                            <tr style="background: white">
                                <td>Họ và tên:</td>
                                <td><input readonly name="name_sender" type="text" value="<?php echo $order->TenNguoiGui; ?>" style="width: 200px"/> </td>
                            </tr> 
                            <tr style="background: white">
                                <td>Điện thoại:</td>
                                <td><input readonly name="phone_sender" type="text" value="<?php echo $order->SDTNguoiGui; ?>" style="width: 200px"/> </td>
                            </tr> 
                            <tr style="background: white">
                                <td>Địa chỉ:</td>
                                <td><input readonly name="address_sender" type="text" value="<?php echo $order->DiaChiNguoiGui; ?>" style="width: 200px"/> </td>
                            </tr> 
                        </table>
                    </div>
                    <div class="thongtinlienlac" style="float: right;">
                        <label class="tle">Thông Tin Người Nhận</label>
                        <table width="100%">                        
                            <tr style="background: white">
                                <td>Họ và tên:</td>
                                <td><input readonly name="name_receiver" type="text" value="<?php echo $order->TenNguoiNhan; ?>" style="width: 200px"/> </td>
                            </tr> 
                            <tr style="background: white">
                                <td>Điện thoại:</td>
                                <td><input readonly name="phone_receiver" value="<?php echo $order->SDTNguoiNhan; ?>" type="text" style="width: 200px"/> </td>
                            </tr> 
                            <tr style="background: white">
                                <td>Địa chỉ:</td>
                                <td><input readonly name="address_receiver" value="<?php echo $order->DiaChiNguoiNhan; ?>" type="text" style="width: 200px"/> </td>
                            </tr> 
                            <tr style="background: white">
                                <td>Ngày Giao:</td>
                                <td><input readonly name="date_receive" type="date" value="<?php echo $order->NgayGiao; ?>" style="width: 200px"/> </td>
                            </tr> 
                        </table>
                    </div>
                    <div class="thongtinlienlac" style="margin-left: 25%">                        
                        <button type="submit" style="margin-left: 30%" class="checkout">In Đơn Hàng</button>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
            <?php echo form_close(); ?>
            <div class="footer">
                <div class="left_footer"><?php echo img(asset_url() . 'imgs/footer_logo.gif', TRUE); ?><br />
                    <a href="http://csscreme.com"><?php echo img(asset_url() . 'imgs/csscreme.gif', TRUE); ?></a></div>
                <div class="right_footer"> <a href="http://all-free-download.com/free-website-templates/">home</a> <a href="http://all-free-download.com/free-website-templates/">about us</a> <a href="http://all-free-download.com/free-website-templates/">services</a> <a href="http://all-free-download.com/free-website-templates/">privacy policy</a> <a href="http://all-free-download.com/free-website-templates/">contact us</a> </div>
            </div>
        </div>
    </body>
</html>
